package com.dj.msgtable.commom;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class PhoneNumber {


    //判断是否是手机号
    public static boolean isMobileNO(String mobiles) {
        Pattern p = Pattern.compile("0?(13|14|15|18|17)[0-9]{9}");
        Matcher m = p.matcher(mobiles);
        return m.matches();
    }
}
